Skip to content

Conversation

@ShadowApex
Copy link
Contributor

No description provided.

@ShadowApex ShadowApex force-pushed the shadowapex/login-improvements branch from f4ff567 to d0851d9 Compare December 22, 2024 04:45
item.provider_app_id = app_id
item.name = data["name"]
item.command = "steam"
item.args = ["-gamepadui", "-steamos3", "-steampal", "-steamdeck", "-silent", "steam://rungameid/" + app_id]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this change creates issues with Steam. I have no focus on the game, but on a black window and there is no controls. When I use the official stable release the games I tested work. MH Rise Demo and Pixel Gun 3D. Also I noticed that the UI is in BigPicture mode somehow.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reverting that change make the controls work again. Also the correct window is focused.

@ShadowApex ShadowApex force-pushed the shadowapex/login-improvements branch from d0851d9 to 34c1773 Compare January 17, 2025 08:05
@ShadowApex ShadowApex force-pushed the shadowapex/login-improvements branch from 34c1773 to 590eaf7 Compare April 12, 2025 17:15
@hphilm
Copy link

hphilm commented May 15, 2025

Any progress on this one? @ShadowApex

var current_output: Array[String] = []

var logger := Log.get_logger("SteamClient", Log.LEVEL.INFO)
var logger := Log.get_logger("SteamClient", Log.LEVEL.DEBUG)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't forget to set back before merge

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reminder

await wait_for_network()


# Ensure the client is part of the Steam Deck beta
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have found different behavior depending on whether or not the Steam client is using the Steam Deck branch or not.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is more about the beta channel than if the UX for the deck is used. Based on license agreements for non steamos only the flag gamepadui should be used. However BigPicture mode still acts different than when the UX for the Steamdeck is used. There is still the hope of getting an universal handheld mode and the flag for the deck may get reduced to branding purposes. However that needs further discussions with Valve.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There has been a difference, specifically when using the -steamos3 and -steamdeck flags, but lately I have been having some decent success just using the -gamepadui flag, so it's possible that using the Steam Deck channel may not be necessary.

else:
users = vdf.data

for username in accounts.keys():
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there two formats?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what you mean here. Could you elaborate?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems this changes the case from PascalCase to lower case sometimes?

@ShadowApex ShadowApex force-pushed the shadowapex/login-improvements branch 3 times, most recently from 3e5f69b to 9ca2f8b Compare June 30, 2025 04:09
@ShadowApex ShadowApex force-pushed the shadowapex/login-improvements branch from 9ca2f8b to 04040df Compare June 30, 2025 05:35
var current_output: Array[String] = []

var logger := Log.get_logger("SteamClient", Log.LEVEL.INFO)
var logger := Log.get_logger("SteamClient", Log.LEVEL.DEBUG)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reminder

@pastaq
Copy link

pastaq commented Jun 30, 2025

Fixes ShadowBlip/OpenGamepadUI#298
Fixes #10

if not item.provider_app_id.is_valid_int():
return
if not _steam.is_logged_in:
return
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this produce a notification window?

## Hook to execute when the app exits. This will try to restore the startup video.
class ExitHook extends AppLifecycleHook:
var _steam: SteamClient
var _replace_intro_video: bool
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can the duplicated properties and functionality be added to the parent class, or a new intermediate SteamLifecycleHook?

## [InteractiveProcess] to spawn steamcmd in a psuedo terminal to read and write
## to its stdout/stdin.

const steam_url := "https://steamdeck-packages.steamos.cloud/archlinux-mirror/jupiter-main/os/x86_64/steam-jupiter-stable-1.0.0.81-2.5-x86_64.pkg.tar.zst"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems fragile, perhaps it would be better to find the highest version available in the webdir?

DirAccess.make_dir_recursive_absolute(package_path)
var f := FileAccess.open(beta_file, FileAccess.WRITE)
f.store_string("steamdeck_publicbeta")
#var beta_file := "/".join([package_path, "beta"])
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There seems to be a lot of dead/commented code here.

@ShadowApex ShadowApex marked this pull request as draft August 12, 2025 02:59
@ShadowApex ShadowApex force-pushed the shadowapex/login-improvements branch from 7f63ab1 to 2b476d8 Compare September 22, 2025 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants